home *** CD-ROM | disk | FTP | other *** search
/ Windows Undocumented File Formats / Windows Undocumented File Formats.img / CHAP7 / MAKEFILE.MS < prev    next >
Text File  |  1997-07-21  |  816b  |  28 lines

  1. ############################################################
  2. #
  3. # Makefile for res2rc.c using the Microsoft compiler/linker
  4. # Chap. 7, Undocumented Windows File Formats, published by
  5. # R&D Books, an imprint of Miller Freeman, Inc.
  6. #
  7. # Copyright 1997, Mike Wallace and Pete Davis
  8. #
  9. # Environment variable requirements:
  10. #
  11. #   1) 'cl' and 'link' must be in your path
  12. #   2) INCLUDE and LIB = paths to inc/ and lib/ subdirectories
  13. #                        under the compiler's directory
  14. #
  15. # Compile the program with: nmake /f makefile.ms
  16. #
  17. ############################################################
  18.  
  19. PROG    = RES2RC
  20. HEADERS = RESTYPES.H
  21.  
  22. $(PROG).EXE:    $(PROG).OBJ
  23.         link /nologo $(PROG),,$(PROG)/li/CO,mlibce,,
  24.  
  25. $(PROG).OBJ:    $(PROG).C $(HEADERS)
  26.         cl /nologo /W4 /AM /Zdpei /Od /c $(PROG).C
  27.  
  28.